<html>
<body>
<p>Reports methods with one empty parameter clause that override methods without parameter clauses.</p>

<p>The recommended convention is to use a method without parameter clauses whenever there are
    no parameters and the method has no
    <a href="https://en.wikipedia.org/wiki/Side_effect_(computer_science)">side effects</a>.</p>

<p>This convention promotes the <a href="https://en.wikipedia.org/wiki/Uniform_access_principle">uniform access principle</a>,
    which says that client code should not be affected by a decision to implement an attribute as a field or method.</p>

<p>In accordance with the <a href="https://en.wikipedia.org/wiki/Liskov_substitution_principle">Liskov substitution principle</a>,
    whenever an overridden method doesn't have a parameter clause, the overriding method must also be declared as a method without side effects.</p>

<p>The quick-fix removes the empty parameter clause.</p>
<p><b>Example:</b></p>
<pre><code>
  trait Base { def isOk: Boolean }

  class Impl extends Base {
    override def isOk(): Boolean = ???
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  trait Base { def isOk: Boolean }

  class Impl extends Base {
    override def isOk: Boolean = ???
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>